﻿.richeditor
{
    font-family: SimSun;
    font-size: 12px;
    border: 1px solid #E0E0E0;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    _width: expression((this.parentElement.offsetWidth - 2) + 'px');
    _height: expression((this.parentElement.offsetHeight - 2) + 'px');
}

.richeditor .ct_toolbar
{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 22px;
    _width: expression((this.parentElement.offsetWidth - 2) + 'px');
    padding: 1px 0px;
    background: url("images/richeditor.h.png") repeat-x 0px 0px;
}

.richeditor .richeditor_frame
{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 24px;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    _width: expression((this.parentElement.offsetWidth - 2) + 'px');
    _height: expression((this.parentElement.offsetHeight - 26) + 'px');
}

.richeditor .ct_toolbar_combox .combox_fontsize
{
    width: 45px;
}

.richeditor .ct_toolbar_combox .combox_fontsize .combox_text
{
    width: 30px;
}

.richeditor .ct_toolbar_combox  .combox_font
{
    width: 115px;
}

.richeditor .ct_toolbar_combox .combox_font .combox_text
{
    width: 100px;
}

.richeditor .tb_btn
{
    float: left;
    cursor: pointer;
    width: 22px;
    height: 22px;
    margin: 1px;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
}

.richeditor .btn_a
{
    background: url("images/richeditor.png") no-repeat -2px -2px;
}

.richeditor .btn_b .btn_text
{
    background: url("images/richeditor.png") no-repeat -2px -26px;
}

.richeditor .btn_file .btn_text
{
    background: url("images/richeditor.png") no-repeat -2px -50px;
}

.richeditor .btn_i .btn_text
{
    background: url("images/richeditor.png") no-repeat -2px -74px;
}

.richeditor .btn_img .btn_text
{
    background: url("images/richeditor.png") no-repeat -2px -98px;
}

.richeditor .btn_u .btn_text
{
    background: url("images/richeditor.png") no-repeat -2px -122px;
}


.richeditor .btn_color .btn_text
{
	background: url("images/richeditor.png") no-repeat -2px -146px;
}

.richeditor .btn_backcolor .btn_text
{
	background: url("images/richeditor.png") no-repeat -2px -170px;
}

.richeditor .btn_emot .btn_text
{
	background: url("images/richeditor.png") no-repeat -2px -194px;
}

.color_select_from
{
	position:absolute;
	margin:0px;
	float:left;
	display:inline;
	background-color:#DCE6F4;
	border: 1px solid #D0D0D0;
}

.color_select_from .color_unit.ct_normal
{
	width:18px;
	height:18px;
	margin:2px;
	border: 1px solid #A0A0A0;
	float:left;
	cursor:pointer;
	display:inline;
	background-color: White;
	cursor:pointer;
	font-size: 1px;
}

.color_select_from .color_unit.ct_hover,
.color_select_from .color_unit.ct_press
{
	width:18px;
	height:18px;
	margin:2px;
	border: 1px solid #0000FF;
	float:left;
	cursor:pointer;
	display:inline;
	background-color: White;
	cursor:pointer;
	font-size: 1px;
}

.color_select_from .color_unit_pre
{
	width:16px;
	height:16px;
	margin:1px;
	float:left;
	cursor:pointer;
	display:inline;
}

.emotform
{
	width:438px;
	height:177px;
	position:absolute;
	background:White url("Images/emot.png") no-repeat;
	margin:0px;
	padding:0px;
	border:0px;
	overflow:hidden;
	z-index:10000000;
}

.emotform .emotunit
{
	width:26px;
	height:26px;
	margin:2px 1px 1px 2px;
	float:left;
	cursor:pointer;
	display:inline;
}

.emotform .emotunit.ct_hover,
.emotform .emotunit.ct_press
{
	width:26px;
	height:26px;
	margin:1px 0px 0px 1px;
	border: 1px solid #0000FF;
	float:left;
	cursor:pointer;
	display:inline;
}